package chapter6;

/**
 * Created by lenovo on 2016/3/24.
 */
public class SwordsMan {
    private String name;
    private int level;
    private int blood;
    public void fight(){
        System.out.println("挥剑攻击");
    }
    public int getBlood(){
        return blood;
    }
    public void setBlood(int blood){
        this.blood=blood;
    }
    public int getLevel(){
        return level;
    }
    public void setLevel(int level){
        this.level=level;
    }
    public String getName(){
        return name;
    }
    public void setName(String name){
        this.name=name;
    }
}
